home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000226_news@newsmaster….columbia.edu _Fri Feb 13 17:05:30 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA17713
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 13 Feb 1998 17:05:29 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA22031
for kermit.misc@watsun; Fri, 13 Feb 1998 17:05:28 -0500 (EST)
Path: news.columbia.edu!news.cs.columbia.edu!psinntp!howland.erols.net!news.maxwell.syr.edu!rill.news.pipex.net!pipex!main.de.uu.net!news.sni.de!news.siemens.de!news.mch.sni.de!michel
From: Michel.Dalle@sni.be (Michel Dalle)
Newsgroups: comp.protocols.kermit.misc
Subject: Catching 'send' errors in a script ?
Date: Fri, 13 Feb 1998 17:43:54 GMT
Organization: Siemens Nixdorf
Lines: 22
Message-ID: <6c1per$3an$1@horus.mch.sni.de>
NNTP-Posting-Host: michel.ch.sni.be
X-Newsreader: News Xpress 2.01
Xref: news.columbia.edu comp.protocols.kermit.misc:8412
Hi,
I've been testing Kermit 95 on Windows 95 recently and got stuck on the
following stupid problem : catching an error message generated during a 'send'
command.
Basically, I'm trying to automatically send files from the PC to a C-Kermit
program running on a UNIX system (via LAN). When I do a 'kill' of the C-Kermit
process on the UNIX (for tests), I either get a "User typed ^C" message on the
PC screen, or (after a long timeout) a "Too many retries" message.
In both cases, my script correctly receives a 'failure' and the Transaction
log shows a line containing "Protocol Error: ...", but I never manage to catch
that error message in the script itself.
I've tried writing the 'errstring' variable to file, and even the 'input'
variable, but neither contains that error message. In which variable is that
error message stored then ?
Thanks,
Michel.